package com.rao.quartz.service.serviceInterface;

import com.rao.entity.InfoGoods;
import com.rao.entity.UserGoods;

import java.util.List;

/**
 * @Author: raoguang
 * @Date: 2022/05/28/22:27
 * @Description:
 */
public interface InfoGoodsService {
    //获取所有商品信息
    List<InfoGoods> getAllGoodsInfo();

    //获取一个商品信息
    InfoGoods getOneGoodsInfo(String gdsid);

    //获取用户对应的商品信息
    UserGoods getUserGoodsInfo(String userId);

    //插入一条商品信息
    boolean insertGoodsInfo(InfoGoods infoGoods);
}
